/*
 * @Author: HuangYue
 * @Date: 2022-02-28 17:22:10
 * @LastEditors: HuangYue
 * @LastEditTime: 2022-04-11 17:27:48
 * @FilePath: /graduation/src/services/mockApi/geographic.js
 * @Description:地理位置信息获取
 */
import { request } from 'umi';

//获取省份信息
export async function queryProvince() {
  return request('/api/geographic/province');
}
// 获取城市信息
export async function queryCity(province) {
  return request(`/api/geographic/city/${province}`);
}
